﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SummerTraining
{
    class MyException : Exception
    {
        private string msg;
        public MyException(string msg)
        {
            this.msg = msg;
        }

        public override string Message
        {
            get
            {
                return msg;
            }
        }
    }
}
